Api.GetIOByIndex method

Gets the information from a specified real or simulated I/O module.

Namespace: IntervalZero.KINGSTAR.Local.Api

Assembly: IntervalZero.KINGSTAR.Local.Api (in IntervalZero.KINGSTAR.Local.dll) Version: 4.4.0.0

Syntax

C#VB
public KsReturn<SlaveStatus> GetIOByIndex(
       int Index
)
Public Function GetIOByIndex(
       Index As Integer
) As KsReturn(Of SlaveStatus)

Parameters

Index

Type: int

Index of the device in the I/O list. Indexes are zero based. Aliases affect this parameter.

Return value

Type: KsReturn<SlaveStatus>

Returns a KsError code and a SlaveStatus value.

Remarks

GetIObyIndex can only be called once a link is established and started.

Usable EtherCAT states

ecatOP

Examples

C#
N/A

See also

Api Class

IntervalZero.KINGSTAR.Local.Api Namespace